import store from '@/store'
export default {
  data () {
    return {
      mixin: '我是全局混入'
      // data: store.state
    }
  },
  methods: {
    canClick (pointCode) {
      const { userInfo } = store.state.user
      // console.log(roles.points)
      return userInfo.roles?.points.includes(pointCode)
    }
  }
}
